// TCPSocketDlg.h

#pragma once

class TCPSocketDlg : public CDialogEx
{
public:
    enum
    {
        IDD = IDD_TCPSOCKET_START_DIALOG
    };

public:
    TCPSocketDlg(CWnd* pParent = NULL);

protected:
    virtual void DoDataExchange(CDataExchange* pDX);

public:
    afx_msg void OnBnClickedServer();
    afx_msg void OnBnClickedClient();
    afx_msg void OnBnClickedCancel();

public:
    void OnCloseServerDialog();
    void OnCloseClientDialog();


protected:
    virtual BOOL OnInitDialog();
    afx_msg void OnPaint();
    afx_msg HCURSOR OnQueryDragIcon();

    DECLARE_MESSAGE_MAP()

protected:
    HICON m_hIcon;
};
